﻿create proc [dbo].danhmucNXTPham_Xoa
@ma_ptnx varchar(255)
as
if not exists(select * from DM_NX_TPham where ma_ptnx=@ma_ptnx   )
begin
select ErrCode=0
end
else
begin
delete from DM_NX_TPham where ma_ptnx=@ma_ptnx
select ErrCode=1
end